package com.szly.phm.common.entity.dto.org;

import com.szly.phm.common.entity.result.BasePageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description : ${创建类}
 * @Author : chengjiang
 * @Date: 2021/7/8 11:29
 */
@Data
public class OrgPageDTO extends BasePageDTO {

    @ApiModelProperty(value = "区域id")
    private String areaId;

    @ApiModelProperty(value = "父级id")
    private String parentId;

    @ApiModelProperty(value = "组织机构名称")
    private String name;

    @ApiModelProperty(value = "组织机构类型（00政府端01企业端）", required = true)
    @NotBlank(message = "组织机构类型不能为空")
    private String organizationType;

    @ApiModelProperty(value = "查询类型(00分页01全部)", required = true)
    @NotBlank(message = "查询类型不能为空")
    private String type;

}
